home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
526-550
/
disk_539
/
rpn
/
source
/
rpn.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
1KB
|
41 lines
/*-----------------------------------*
| File: RPN.h - MLO 900131 V1.00 |
| This file contains all #define's |
| shared from more than one .c file |
*-----------------------------------*/
#include <stdio.h> /* #include's for all files */
#include <exec/types.h>
#include <intuition/intuition.h>
#include <graphics/gfxbase.h>
#define SYS_NORMAL 0 /* Completion codes */
#define SYS_ERROR 1
#define BLUE_PEN 0 /* Default Workbench setting */
#define WHITE_PEN 1 /* for pen colors */
#define BLACK_PEN 2
#define RED_PEN 3
#define ENTER_CODE 29 /* Code of the ENTER button */
#define NSTACK 4 /* Number of stack and register */
#define NSTM1 3
#define NREGS 10
#define NACCS 6
#define REG_X0 18 /* Constants for register output */
#define REG_Y0 10
#define REG_DY 10
#define ACC_X0 161
#define ACC_Y0 10
#define ACC_DY 10
#define STK_X0 161
#define STK_Y0 100
#define STK_DY 10
#define INBUF_LEN 32 /* Length of the input buffer */
enum eBoolean {False, True}; /* Boolean variables */
typedef enum eBoolean Boolean;